/*
 * Copyright (c) 2025 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import { StyleSheet } from 'react-native';

export const styles = StyleSheet.create({
  backdrop: {
    backgroundColor: 'rgba(0, 0, 0, 0.64)',
    bottom: 0,
    left: 0,
    position: 'absolute',
    right: 0,
    top: 0,
    zIndex: 999,
  },
  container: {
    bottom: 0,
    overflow: 'hidden',
    position: 'absolute',
    top: 0,
    width: 0,
    zIndex: 1000,
  },
  containerLeft: {
    left: 0,
  },
  containerRight: {
    right: 0,
  },
  contentContainer: {
    flex: 1,
    overflow: 'hidden',
    backgroundColor: 'transparent',
  },
  handle: {
    backgroundColor: '#DADFE6',
    borderRadius: 999,
    height: 56,
    marginTop: -28,
    position: 'absolute',
    top: '50%',
    width: 8,
  },
  handleLeft: {
    right: 4,
  },
  handleRight: {
    left: 4,
  },
  sheet: {
    backgroundColor: '#ffffff',
    bottom: 0,
    position: 'absolute',
    top: 0,
  },
  sheetLeft: {
    left: 0,
  },
  sheetRight: {
    right: 0,
  },
});
